package com.cqhfan.userservice.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.cqhfan.pojo.user.po.Follow;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 眭传洪
 * @create 2025-08-02 1:54
 */
public interface FollowMapper extends BaseMapper<Follow> {

    List<Long> selectFriends(@Param("userId") Long userId);

    Page<Follow> selectFriendPage(@Param("page") Page<Follow> page,
                                  @Param("userId") Long userId);
}
